﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebServer.Models
{
    /// <summary>
    /// 新闻
    /// </summary>
    public class News
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        /// 分类
        /// </summary>
        public int CateID
        {
            get;
            set;
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get;
            set;
        }
        /// <summary>
        /// 摘要
        /// </summary>
        public string SmallTitle
        {
            get;
            set;
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Text
        {
            get;
            set;
        }
        /// <summary>
        /// 采集地址
        /// </summary>
        public string Url
        {
            get;
            set;
        }
        /// <summary>
        /// 点击
        /// </summary>
        public int Hits
        {
            get;
            set;
        }
        /// <summary>
        /// 交易所简称
        /// </summary>
        public string Shortened
        {
            get;
            set;
        }
        /// <summary>
        /// 交易所
        /// </summary>
        public int CenterID
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 可否编辑
        /// </summary>
        public bool IsEdit
        {
            get;
            set;
        }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDel
        {
            get;
            set;
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 推荐
        /// </summary>
        public bool Commend
        {
            get;
            set;
        }
        /// <summary>
        /// 图片
        /// </summary>
        public string Img
        {
            get;
            set;
        }
        /// <summary>
        /// 置顶
        /// </summary>
        public bool Stick
        {
            get;
            set;
        }
        /// <summary>
        /// 样式
        /// </summary>
        public string Style
        {
            get;
            set;
        }
        /// <summary>
        /// 头条
        /// </summary>
        public bool IsHeadline
        {
            get;
            set;
        }

        /// <summary>
        /// 赞
        /// </summary>
        public int Goods
        { get; set; }

        /// <summary>
        /// 回复量
        /// </summary>
        public int Retotal
        { get; set; }

        /// <summary>
        /// 是否推送
        /// </summary>
        public bool IsPush { get; set; }


        /// <summary>
        /// 公司ID
        /// </summary>
        public int CompanyID { get; set; }

        /// <summary>
        /// 解读用户ID
        /// </summary>
        public int UserID
        { get; set; }      

        /// <summary>
        /// 标签
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 自编译标题
        /// </summary>
        public string EditTitle { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 首页显示的标题
        /// </summary>
        public string TWord { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string KeysWord { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string Origin { get; set; }


        /// <summary>
        /// 相关
        /// </summary>
        public string Related { get; set; }
        ///// <summary>
        ///// 关键的新闻表的ID
        ///// </summary>
        //public int PNID { get; set; }

        ///// <summary>
        ///// 用户类型
        ///// </summary>
        //public int UserCateID { get; set; }

        ///// <summary>
        ///// 分类名
        ///// </summary>
        //public string CateName
        //{
        //    get;
        //    set;
        //}


        ///// <summary>
        ///// 解读用户
        ///// </summary>
        //public string UserName
        //{ get; set; }

    }
}
